{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/Contacts/index.tsx\";\nimport React from 'react';\nimport { ContactItem } from \"../index\";\nimport \"./Contacts.scss\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst Contacts = props => {\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: \"contacts-container\",\n    children: props.contacts.items.map((item, index) => /*#__PURE__*/_jsxDEV(ContactItem, {\n      contact: item,\n      index: index,\n      currentUser: props.currentUser,\n      addRequest: props.addRequest,\n      sentRequest: props.sentRequest,\n      allAccepted: props.allAccepted\n    }, item.id, false, {\n      fileName: _jsxFileName,\n      lineNumber: 11,\n      columnNumber: 17\n    }, this))\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 9,\n    columnNumber: 9\n  }, this);\n};\n_c = Contacts;\nexport default Contacts;\nvar _c;\n$RefreshReg$(_c, \"Contacts\");","map":{"version":3,"names":["React","ContactItem","Contacts","props","contacts","items","map","item","index","currentUser","addRequest","sentRequest","allAccepted","id"],"sources":["/data/messenger.client/src/components/Contacts/index.tsx"],"sourcesContent":["import React from 'react';\nimport {ContactsProps} from \"../../models/props/ContactsProps\";\nimport {ContactItem} from \"../index\";\nimport \"./Contacts.scss\";\n\nconst Contacts: React.FC<ContactsProps> = (props) => {\n\n    return (\n        <div className='contacts-container'>\n            {props.contacts.items.map((item, index) => (\n                <ContactItem\n                    key={item.id}\n                    contact={item}\n                    index={index}\n                    currentUser={props.currentUser}\n                    addRequest={props.addRequest}\n                    sentRequest={props.sentRequest}\n                    allAccepted={props.allAccepted}\n                />\n            ))}\n        </div>\n    );\n}\n\nexport default Contacts;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAAQC,WAAW,QAAO,UAAU;AACpC,OAAO,iBAAiB;AAAC;AAEzB,MAAMC,QAAiC,GAAIC,KAAK,IAAK;EAEjD,oBACI;IAAK,SAAS,EAAC,oBAAoB;IAAA,UAC9BA,KAAK,CAACC,QAAQ,CAACC,KAAK,CAACC,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,kBAClC,QAAC,WAAW;MAER,OAAO,EAAED,IAAK;MACd,KAAK,EAAEC,KAAM;MACb,WAAW,EAAEL,KAAK,CAACM,WAAY;MAC/B,UAAU,EAAEN,KAAK,CAACO,UAAW;MAC7B,WAAW,EAAEP,KAAK,CAACQ,WAAY;MAC/B,WAAW,EAAER,KAAK,CAACS;IAAY,GAN1BL,IAAI,CAACM,EAAE;MAAA;MAAA;MAAA;IAAA,QAQnB;EAAC;IAAA;IAAA;IAAA;EAAA,QACA;AAEd,CAAC;AAAA,KAjBKX,QAAiC;AAmBvC,eAAeA,QAAQ;AAAC;AAAA"},"metadata":{},"sourceType":"module"}